﻿using System.Diagnostics.CodeAnalysis;

namespace BaseData.CommonLib.Models;

public class SaleOrderEditRequestDto
{
    [NotNull]
    public string? SaleOrderCode { get; set; }

    [NotNull]
    public string? SaleOrderName { get; set; }
    
    public int SaleOrderType { get; set; }

    public string? Description { get; set; }

    public int? CustomerId { get; set; }

    public string? CustomerOrderCode { get; set; }
    public string? ContractOrderCode { get; set; }

    public DateTime? DeliveryTime { get; set; }

    public IList<SaleOrderDetailEditRequestDto> Items { get; set; } = new List<SaleOrderDetailEditRequestDto>();
}